package com.cj.bigfileupload.service;

import com.cj.bigfileupload.controller.request.MultipartFileParam;

/**
 * ClassName: IFileUploadService <br/>
 * Function: 文件上传service接口 <br/>
 * date: 2018/05/08 15:42 <br/>
 *
 * @author chenj
 * @version 1.0.0
 * @since JDK 1.8
 */
public interface IFileUploadService {

    /**
     * 从redis中获取conf文件路径
     *
     * @param md5
     * @return
     */
    String getConfFilePathFromRedis(String md5);

    /**
     * 上传文件
     *
     * @param param
     */
    void uploadFile(MultipartFileParam param);
}
